#include "yacc_parser/ConventionItem.h"
#include "symbol_table/SymbolBase.h"
#include "yacc_parser/Item.h"
#include "symbol_table/SymbolTablePool.h"


ConventionItem::ConventionItem( SymbolBase *pIdentifier, ItemList *pItems )
	: m_pConventionName(pIdentifier)
	, m_pItems(pItems)
{
	//change the attribute of pIdentifier;
	m_pConventionName->setSymbolType(SymbolBase::convention_name);
}

ConventionItem::~ConventionItem(void)
{
}

ItemList * ConventionItem::getItems()
{
	return m_pItems;
}

SymbolBase * ConventionItem::getConventionName()
{
	return m_pConventionName;
}

